(function(angular) {
	"use strict";
	angular.module("fs.waf").factory("settlePayDefaultService", settlePayDefaultService);
	settlePayDefaultService.$inject = [];
	function settlePayDefaultService() {

		function getPayInfoConfig(payDetail, result, layoutConfig) {
			result.deliveryTypeConfig = result.deliveryTypeConfig || [];
			result.deliveryTypeConfig["pd" + payDetail.payItemSeq] = angular.copy(layoutConfig.formConfigs.deliveryType);
		}

		return {
			getPayInfoConfig : getPayInfoConfig
		};
	}
})(angular);
